package com.sise.dubbo.config.xxx;

import com.alibaba.dubbo.rpc.Invoker;
import com.alibaba.dubbo.rpc.InvokerListener;
import com.alibaba.dubbo.rpc.RpcException;

/**
 * 监听服务的请求
 *
 * @author linhao
 * @date 2019/5/16
 * @Version V1.0
 */
public class XxxInvokerListener implements InvokerListener {

    @Override
    public void referred(Invoker<?> invoker) throws RpcException {
        System.out.println("this is referred");
    }

    @Override
    public void destroyed(Invoker<?> invoker) {
        System.out.println("this is invoker");
    }

}
